let btn = document.querySelector(".btn");
let toggle = document.querySelector(".toggle");
let nav = document.querySelector(".nav");
let flag = true;
toggle.addEventListener("click", () => {
  if (flag) nav.classList.remove("active");
  else nav.classList.add("active");
  flag = !flag;
});
